/*
 * @Title: 
 * @Created by: ycq
 */
<template>
	<view class="queue-success">
		<view class="queue-mask"></view>
		<view class="queue-area">
			<view class="queue-head">
				<view class="close-img" @click="close">
					<image src="/static/map/X.png" mode=""></image>
				</view>
			</view>
			<view class="queue-text">
				<view class="success-title">
					<text class="queue-label">排队成功</text>
					<image class="dui" src="/static/map/choose.png" mode=""></image>
				</view>
				<image class="queue-ewm" src="/static/map/ewm.png" mode=""></image>
				<text class="queue-label">您的排队编号为：D210</text>
				<text class="queue-num">12人正在排队，需等21分钟</text>
				<text class="queue-tip">请在“我的-排队码”中查看</text>
				
			</view>
			
		</view>
		
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		methods: {
			close(){
				//#ifdef APP-PLUS|| MP-WEIXIN
				this.$parent.closeQS();
				//#endif
				//#ifndef APP-PLUS|| MP-WEIXIN
				this.$parent.$parent.closeQS();
				//#endif
			},
		},
		created(){
			uni.showToast({
				title:'排队成功,您可以在我的-排队码中查看',
				icon:'none',
				
			});
		}
	}
</script>

<style scoped>
	.queue-success{
		width: 750upx;
		height: 100vh;
		position: fixed;
		top:0;
		z-index: 30;
	}
	.queue-mask{
		width: 750upx;
		height: 100vh;
		background: rgba(0,0,0,0.5);
		position: absolute;
	}
	.queue-head{
		width: 100%;
		height: 60upx;
		position: absolute;
	}
	.close-img{
		width: 60upx;
		height: 60upx;
		float: right;
		text-align: center;
		margin-right: 20upx;
	}
	.close-img image{
		width: 40upx;
		margin-top: 20upx;
		height: 40upx;
	}
	.queue-area{
		width: 565upx;
		height: 580upx;
		background: #FFFFFF;
		border-radius: 20upx;
		top: 324upx;
		left: 117upx;
		position: absolute;
	}
	.queue-text{
		width: 565upx;
		height: auto;
		margin-top: 30upx;
		text-align: center;
		display: table;
	}
	.queue-label{
		font-size:34upx;
		line-height: 20upx;
		display: block;
		margin-top: 10upx;
		height: 40upx;
	}
	.queue-tip{
		font-size:26upx;
		width: 565upx;
		display: block;
		margin-top: 10upx;
		height: auto;
		color: #999999;
	}
	.queue-num{
		font-size:24upx;
		width: 565upx;
		display: block;
		height: 40upx;
		color: #577AFF;
		margin-top: 10upx;
	}
	.queue-ewm{
		width: 300upx;
		height: 300upx;
		margin-top: 20upx;
	}
	.dui{
		width: 42upx;
		height: 42upx;
		margin-left: 20upx;
	}
	.success-title{
		width: 100%;
		height: 40upx;
		display: flex;
		flex-direction: row;
		justify-content: center;
	}
</style>
